﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<meta name="apple-itunes-app" content="app-id=591578609">
	<meta name="viewport" content="width=device-width"/>
	<meta name="description" content="筑学堂网校" />
	
	<link rel="stylesheet" type="text/css" href="../../style/share/style.css">
	<link rel="stylesheet" type="text/css" href="../../style/share/kczx.css">
	<link rel="stylesheet" type="text/css" href="../../style/share/home_style.css">
	<link rel="stylesheet" type="text/css" href="../../style/user.css">
	
	<script type="text/javascript">
	    
	 function addTopic(){
		 $.ajax({ url: "../query_homeGroup_topic_add_page/${group_id}", 
		       success: function(result){
	              $("#mainPageDiv").html(result);
	           }
	     });	
	 }
	 
	 //群话题详细页面
	  function topicDetail(topic_id){
		 $.ajax({ url: "../query_homeGroup_topic_detail/"+topic_id, 
		       success: function(result){
	              $("#mainPageDiv").html(result);
	           }
	     });	
	 }
	  
	</script>

</head>

<body style="clear:both;align:center;">
	<div class="home_group">
		
			<div class="home_groupnotice">
				<div class="home_grnottit" style="margin-bottom:20px;"> 群动态 </div>
				<div class="home_groupnot" style="text-indent:1em;">
					<ul class="user_li">
					  <c:forEach items="${data}" var="li">
					  	 <c:if test="${li.dynamic_tp == 1}">
					     	 <li> &nbsp;&nbsp; <img src="../../images/dtjy.png"/> <a href="#">${li.sponsor_nm}</a> 和 <a href="#">${li.adopt_nm}</a> ${li.content} ${li.publish_dt} </li>
					 	 </c:if>
					 	 <c:if test="${li.dynamic_tp == 2}">
					     	 <li> &nbsp;&nbsp; <img src="../../images/dtjy.png"/> <a href="#">${li.sponsor_nm}</a> ${li.content} <a href="#">${li.adopt_nm}</a> ${li.publish_dt} </li>
					 	 </c:if>
					 	  <c:if test="${li.dynamic_tp == 3}">
					     	 <li> &nbsp;&nbsp; <img src="../../images/dtjy.png"/> <a href="#">${li.sponsor_nm}</a> ${li.content} </li>
					 	 </c:if>
					  </c:forEach>
					</ul>
				</div>
			</div>
		</div>
	
</body>
</html>